package com.lxm.ymcc.feignclient;

import com.lxm.ymcc.domain.Login;
import com.lxm.ymcc.result.JSONResult;
import org.springframework.stereotype.Component;

@Component
public class LoginControllerFallBack  implements  LoginServerFeign{
    @Override
    public JSONResult saveOrUpdate(Login login) {
        return JSONResult.error("服务不可用，请稍后再试");
    }
}
